import React, { Component } from "react";
import { Provider } from "react-redux";
import { GlobalStyle } from "./style.js";//全局样式
import { GlobalFont } from "./static/font/globalFont"; //全局字体
import RouterConfig from './router/index';//路由
import store from "./store";//数据
class App extends Component {
  render() {
    return (
      <div className="App">
        <Provider store={store}>
          <GlobalStyle /> 
          <GlobalFont />
          <RouterConfig />
        </Provider>
      </div>
    );
  }
}
export default App;
